package java56_7;

public class TwoDimension {

	public static void main(String[] args) {
		int[][] ar = new int[5][30];
		ar[0][2] = 97;
		ar[2][0] = 77;
		System.out.println(ar[0][2]);
		for (int i = 0; i < ar.length; i++) {// 几行
			for (int j = 0; j < ar[i].length; j++) {
				ar[i][j] = (int) (Math.random() * 100);
			}
		}
		for (int i = 0; i < ar.length; i++) {// 几行
			for (int j = 0; j < ar[i].length; j++) {
				System.out.print(ar[i][j] + " ");
			}
			System.out.println();

		}
	}

}
